import request from "../../../api/request";

/**
 * 获取歌单详情
 * @returns
 */
export const getPlayList = (id) => {
  return request.get("/playlist/detail", {
    params: {
      id: id,
    },
  });
};

/**
 * 获取歌单歌曲详情
 * @returns
 */
export const getPlaysong = (id, limit) => {
  return request.get("/playlist/track/all", {
    params: {
      id: id,
      limit: limit,
    },
  });
};

